package com.guangfeng.yql.comm.netty;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@ConfigurationProperties(prefix = "netty.yql")
@Configuration
@Accessors(chain = true)
@Data
public class NettyConfig {

    @NestedConfigurationProperty
    private List<NettyProperty> list;

}
